package cn.it.sqlSession;

import java.util.List;

public interface SqlSession {

    <E> List<E> selectList(String statementId,Object param) throws Exception;

    <T> T selectOne(String statementId,Object param)  throws Exception;

    int save(String statementId,Object param)  throws Exception;

    int update(String statementId,Object param)  throws Exception;

    int delete(String statementId,Object param)  throws Exception;

    <T> T getMapper(Class<?> Type);

}
